package com.nervenets.web.controller;

import com.nervenets.web.enumeration.CheckStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@Data
public class CheckParams extends IdTokenParams {
    @ApiModelProperty(value = "改变状态", required = true)
    @NotNull(message = "改变状态不能为空")
    private CheckStatus changeTo;
    @ApiModelProperty(value = "原因", required = true)
    @NotNull(message = "原因不能为空")
    private String reason;
}
